package com.ffz.springbootvuedemo.dao;

import com.ffz.springbootvuedemo.bean.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

/**
 * @description:
 * @author: fengfazheng
 * @create: 2021-12-28 23:41
 **/
@Repository
public interface UserDao extends JpaRepository<User, String> {
    Page<User> queryByNicknameIsContaining(String nickName, Pageable pageable);
}
